﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Diablo3.Engine.Property
{
    public class LifeSteal : ItemsProperty, IAffecteLifeSteal
    {
        public LifeSteal() { }

        public LifeSteal(double value)
        {
            Value = value;
        }

        public double Value { get; set; }

        public override string Des
        {
            get { return String.Format("生命汲取 {0}%", Value); }
        }

        #region IAffecteLifeSteal 成员

        double IAffecteLifeSteal.Affecte(double source)
        {
            return source + Value;
        }

        #endregion
    }
}
